﻿using DevExpress.XtraGrid.Demos.util;
using Luna小店.DTO;
using Luna小店.UC.面料库存.库存记录.service;
using mendian;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Luna小店.UC.项目成果管理.领料出库.service
{
    public class 领料出库Service
    {
        /// <summary>
        /// 扫描订单styleId查询面料投料
        /// </summary>
        /// <returns></returns>
        public static DTO面料库存 get投料By扫描StyleId(string styleId)
        {
            return
                FunctionHelper.JsonDeserialization<DTO面料库存>(
                    RestCall.httpGetMethod(
                        URL.接口url + "/inventory/getFabricDTOByBarcode?styleID=" + styleId
                        )
                    ); ;
        }
    }

}
